package main.java.state.after;

public class RunningState extends LiftState{
    @Override
    void opne() {

    }

    @Override
    void close() {

    }

    @Override
    void run() {
        System.out.println("电梯正在运行...");
    }

    @Override
    void stop() {
        super.context.setLiftState(Context.STOPPING_STATE);
        super.context.stop();
    }
}
